.logo {
  height: 48px;
  margin: 16px;
  background: var(--ant-color-bg-container);
  border-radius: 6px;
}

.ant-layout {
  width: 100%;
  height: 100vh;
  background-color: var(--ant-color-bg-layout);
}

.ant-layout-sider {
  box-shadow: 2px 0 8px rgba(0, 21, 41, 0.15);
  z-index: 10;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background-color: var(--ant-color-bg-container);
}

.ant-layout-header {
  background: var(--ant-color-bg-container);
  padding: 0 24px;
  box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 64px;
  position: fixed;
  top: 0;
  right: 0;
  left: 256px;
  z-index: 9;
}

.ant-layout-content {
  margin: 0;
  padding: 24px;
  background: var(--ant-color-bg-layout);
  min-height: calc(100vh - 64px);
  margin-top: 64px;
  margin-left: 256px;
  width: calc(100% - 256px);
}

.ant-menu {
  font-size: 15px;
  background-color: var(--ant-color-bg-container);
}

.ant-menu-item {
  height: 50px;
  line-height: 50px;
}

.user-info {
  margin-right: 16px;
  color: var(--ant-color-text);
}

/* 侧边栏折叠时的样式 */
.ant-layout-sider-collapsed + .ant-layout .ant-layout-header {
  left: 80px;
}

.ant-layout-sider-collapsed + .ant-layout .ant-layout-content {
  margin-left: 80px;
  width: calc(100% - 80px);
}

/* 确保内容区域不会被遮挡 */
.ant-layout-has-sider {
  position: relative;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
  .ant-layout-header {
    left: 0;
  }

  .ant-layout-content {
    margin-left: 0;
    width: 100%;
  }
} 